package com.woniuxy.service;

import com.woniuxy.dto.ResultServiceIn;
import com.woniuxy.pojo.Property;
import com.woniuxy.pojo.Users;
import com.woniuxy.pojo.Vendor;

import java.util.List;

public interface PropertyService {


    Property findProByAccount(String account);

    void insertProperty(Property p);

    void updateProperty(Property property);

    Property findProById(Long pid);

    void updatePassById(Long id, String newPass);

    List<ResultServiceIn> findServiceIn(Long id);

    void delServiceIn(Long id, Long smid);

    void updateServerPrice(Long id, Long smid, Double price);

    List<ResultServiceIn> canBeIn(Long id);

    void oneServiceIn(Long id, Long smid, Double price);

    List<Users> ownerList(Long id);

    void checkUserStatus(Long id, Integer status);
}
